package com.example.springstudy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.hibernate.annotations.Proxy;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;


/**
 * bim 项目表
 */
@javax.persistence.Entity
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Ins {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;

    @Column(name = "[insNum]")
    private String insNum;  // 巡检单号
    @Column(name = "[date]")
    private String date;  // 巡检日期
    @Column(name = "[name]")
    private String name;  // 巡检名称
    @Column(name = "[desc]")
    private String desc;  // 巡检描述
    @Column(name = "[worker]")
    private String worker;  // 巡检人
    @Column(name = "[startTime]")
    private String startTime;  //开始时间
    @Column(name = "[endTime]")
    private String endTime;  // 结束时间
    @Column(name = "[route]")
    private String route;  // 巡检路线
    @Column(name = "[status]")
    private String status;  //巡检状态

}
